package com.btpj.hospital_server.mapper;

import com.btpj.hospital_server.entity.HospitalSpecial;
import com.btpj.hospital_server.entity.HospitalSpecialRelation;

import java.util.List;

public interface HospitalSpecialRelationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(HospitalSpecialRelation record);

    int insertSelective(HospitalSpecialRelation record);

    HospitalSpecialRelation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HospitalSpecialRelation record);

    int updateByPrimaryKey(HospitalSpecialRelation record);

    int selectByHospitalIdAndSpecialId(Long hospitalId, Long specialId);

    int deleteByHospitalIdAndSpecialId(Long hospitalId, Long specialId);

    List<HospitalSpecialRelation> selectByHospitalId(Long hospitalId);
}